#!/usr/bin/env python
# -*- coding: utf-8 -*-
from component import TkModel


class AppStart(TkModel):
    def __init__(self):
        super().__init__()
    
    def _draw(self):
        width, height = super()._draw()
        self.create_text(width * 0.5, height * 0.15, text='测试程序',
                         font=self.f30, fill='#000000', tags='pl')
        self.create_text(width * 0.5, height * 0.9, text='2025-02-06',
                         font=self.f20, fill='#ffffff', tags='pl')
                         

if __name__ == '__main__':
    app = AppStart()
    app.parent.start()